feat(agents): add multi-agent personas with CRUD UI#97
Open
Conversation
Introduce agent personas — distinct AI identities with separate names, emojis, creatures, vibes, system prompts (souls), and per-agent memory workspaces. Each agent gets its own data directory under `~/.moltis/agents/<id>/`. Key changes: - Config: replace `theme` field with `creature` + `vibe` on AgentIdentity - Sessions: add `agent_id` column with list/delete-by-agent helpers - Gateway: AgentPersonaStore (SQLite CRUD), RPC methods (agents.*), wired into GatewayServices and GonData - Web UI: Agents settings page (page-agents.js) with create/edit/delete cards, soul editor, and emoji picker integration - E2E: agents.spec.js covering page load, CRUD lifecycle, and validation - Onboarding/prompt: updated to use creature/vibe instead of theme
add057c to
525209c
Compare
Contributor
Merging this PR will degrade performance by 34.68%
Performance Changes
Comparing Footnotes
|
Codecov Report❌ Patch coverage is 📢 Thoughts on this report? Let us know! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
themefield withcreature+vibeacross all crates (config, onboarding, chat, agents, gateway)agent_idcolumn to sessions for agent-session bindingAgentPersonaStorewith full CRUD and RPC methods (agents.list,agents.get,agents.create,agents.update,agents.delete,agents.set_session,agents.identity.get/update/update_soul)Validation
Completed
cargo build— compiles cleanlycargo test— all tests pass (0 failures)just format-check— formatting passescargo clippy— no new warnings from changesbiome check --write— JS files linted and formattedtaplo fmt— TOML files formattedRemaining
just release-preflightfails on CUDA (pre-existing, unrelated to this PR)Manual QA
themereferences remain in compiled code paths